package com.yanggeng.demo.beginnerguidedemo.bean;

/**
 * 饼图数据模型
 * @author aiden@tronsis.com
 * @date 2018/5/15 15:07
 */
public class PieEntry {
    private float value;
    private String text;

    public PieEntry(float value, String text) {
        this.value = value;
        this.text = text;
    }

    public float getValue() {
        return value;
    }

    public void setValue(float value) {
        this.value = value;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return "PieEntry{" +
                "value=" + value +
                ", text='" + text + '\'' +
                '}';
    }
}
